﻿#ifndef ADD_H
#define ADD_H
#if defined(_MSC_VER) && (_MSC_VER >= 1600)
# pragma execution_character_set("utf-8")
#endif
#include <QDialog>

namespace Ui {
class add;
}

class add : public QDialog
{
    Q_OBJECT

public:
    explicit add(QWidget *parent = 0);
    ~add();
    void clearContent();
    void writeFile(QString str);
    bool connectMysql();
private slots:
    void on_okBtn_clicked();

    void on_nameEdit_textEdited(const QString &arg1);

    void on_nameEdit_editingFinished();

    void on_idEdit_textEdited(const QString &arg1);

    void on_idEdit_editingFinished();

    void on_cancelBtn_clicked();

private:
    Ui::add *ui;
};

#endif // ADD_H
